package com.ktjiaoyu.ktmall.entity;

import java.util.Date;

public class Product {
    private Long id;
    private String title;
    private String subtitle;
    private Long category_id;
    private String category_path;
    private String brand;
    private String main_image;
    private String images;
    private String description;
    private Double price;
    private Double original_price;
    private Integer stock;
    private Integer sales;
    private Integer status;
    private Integer is_deleted;
    private Date create_time;
    private Date update_time;

    public Product(Long id, String title, String subtitle, Long category_id, String category_path, String brand, String main_image, String images, String description, Double price, Double original_price, Integer stock, Integer sales, Integer status, Integer is_deleted, Date create_time, Date update_time) {
        this.id = id;
        this.title = title;
        this.subtitle = subtitle;
        this.category_id = category_id;
        this.category_path = category_path;
        this.brand = brand;
        this.main_image = main_image;
        this.images = images;
        this.description = description;
        this.price = price;
        this.original_price = original_price;
        this.stock = stock;
        this.sales = sales;
        this.status = status;
        this.is_deleted = is_deleted;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public Product() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public Long getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Long category_id) {
        this.category_id = category_id;
    }

    public String getCategory_path() {
        return category_path;
    }

    public void setCategory_path(String category_path) {
        this.category_path = category_path;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getMain_image() {
        return main_image;
    }

    public void setMain_image(String main_image) {
        this.main_image = main_image;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(Double original_price) {
        this.original_price = original_price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(Integer is_deleted) {
        this.is_deleted = is_deleted;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
